home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / DJGPP / BNU22SR1.ZIP / src / binutils.2 / bfd / sysdep.h < prev    next >
C/C++ Source or Header  |  1993-05-30  |  763b  |  35 lines

  1. #include <fcntl.h>
  2. #include <errno.h>
  3. #include <stdio.h>
  4. #include <sys/types.h>
  5. #include <sys/stat.h>
  6. #include <ctype.h>
  7. #include <string.h>
  8. #include <sys/file.h>
  9. #include <stdlib.h>
  10. #ifndef O_ACCMODE
  11. #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
  12. #endif
  13. #define SEEK_SET 0
  14. #define SEEK_CUR 1
  15.  
  16. #define NO_FCNTL
  17.  
  18. /* EXACT TYPES */
  19.  typedef char int8e_type;
  20.  typedef unsigned char uint8e_type;
  21.  typedef short int16e_type;
  22.  typedef unsigned short uint16e_type;
  23.  typedef int int32e_type;
  24.  typedef unsigned int uint32e_type;
  25.  
  26.  /* CORRECT SIZE OR GREATER */
  27.  typedef char int8_type;
  28.  typedef unsigned char uint8_type;
  29.  typedef short int16_type;
  30.  typedef unsigned short uint16_type;
  31.  typedef int int32_type;
  32.  typedef unsigned int uint32_type;
  33.  
  34. #include "fopen-bin.h"
  35.